home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Diversos / cosmicfozmik.swf / scripts / frame_7 / PlaceObject2_187_90 / CLIPACTIONRECORD onClipEvent(enterFrame).as next >
Encoding:
Text File  |  2007-09-27  |  497 b   |  22 lines

  1. onClipEvent(enterFrame){
  2.    if(_root.gameOn == 1)
  3.    {
  4.       _root.hitPlayer(this.hitMe);
  5.       if(isNegative == 0 && _root.negativeColor == 1)
  6.       {
  7.          myColor.negative();
  8.          isNegative = 1;
  9.       }
  10.       if(isNegative == 1 && _root.negativeColor == 0)
  11.       {
  12.          myColor.setTransform(_root.origStars);
  13.          isNegative = 0;
  14.       }
  15.       _X = _X - _root.groundSpeed;
  16.       if(_X < - this._width)
  17.       {
  18.          removeMovieClip(this);
  19.       }
  20.    }
  21. }
  22.